 {% include file="index.header.tpl.php" %}
 {% include file="index.left.tpl.php" %}
   <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form name="myform" method="get" action="">
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">班级量化考核</p>
                </div>
                   <div class="box-body">
				   <div class="col-sm-3 col-xs-12 form-group" style="padding:0;">
						  <label for="inputPassword3" class="col-sm-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500; ">
							   时间：
						  </label>
						  <div class="input-group col-md-7" style="float:left; margin-right:8px;">
							   <input type="text" class="form-control"  id="from" name="form_time" value="{%$form_time%}" >
                               <div class="input-group-addon">
                                    <i class="fa fa-calendar"></i>
                               </div>
						  </div>
				    </div>
						<input type="hidden" name="a" value="quantification.list">
					   <button type="submit" class="btn btn-warning">查 询</button>
                        <table class="table table-bordered" id="idData">
                          
                                    <tr>
                                        <td>班级名称</td>
										 
										 {%foreach from=$quan_lists key=key item=value%}
                                        <td>{%$value.clas_quantification%}</td> 
										 {%/foreach%}
										 
									</tr>  
									{%foreach from=$data_lists key=key item=value%}									
                                    <tr>
									<td>{%$value.name%}</td>
										 {%foreach from=$value.data key=k item=v%}									    
                                        <td>{%$v%}</td>
										{%/foreach%}
                                    	
									</tr>
                              	  	{%/foreach%}
                            
                        </table> 
						
				   </div><!--box-body -->
						 
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 {% include file="index.footer.tpl.php" %}
 <script>
  $(function() {
    $( "#from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,

    });

  });
  </script> 